package com.payment.entity.alast.stripe.autorenewal.subcription.cancel.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lm
 * @date 2021/1/20 14:03
 */
@Data
public class SubscriptionCancelRequest implements Serializable {

    @ApiModelProperty(value = "渠道编码。", example = "P000818", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "付款邮箱", example = "", dataType = "String")
    private String email;

    @ApiModelProperty(value = "订单号", example = "", dataType = "String")
    private String order_id;

    @ApiModelProperty(value = "pm_id是在stripe的方法confirmSetupIntent返回结果里获取到的计划值", example = "pm_1GTUsZLnVNBddzsltNtZ7gMi", dataType = "String")
    private String pm_id;

    @ApiModelProperty(value = "H5自生成的单号", example = "plan_HJpGDyA48jVmTK", dataType = "String")
    private String plan_id;

    @ApiModelProperty(value = "大概标识一个用户", example = "sub_HLLr4gp6tAGRD2", dataType = "String")
    private String sub_id;
}
